package com.football.feign.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author
 */
public class UserSchemeRecord implements Serializable {
    private String usrno;

    private String uno;

    private String prno;

    private String edno;

    private Date usrdate;

    private String usrprice;

    private Date usrtime;

    private static final long serialVersionUID = 1L;

    public String getUsrno() {
        return usrno;
    }

    public void setUsrno(String usrno) {
        this.usrno = usrno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getPrno() {
        return prno;
    }

    public void setPrno(String prno) {
        this.prno = prno;
    }

    public String getEdno() {
        return edno;
    }

    public void setEdno(String edno) {
        this.edno = edno;
    }

    public Date getUsrdate() {
        return usrdate;
    }

    public void setUsrdate(Date usrdate) {
        this.usrdate = usrdate;
    }

    public String getUsrprice() {
        return usrprice;
    }

    public void setUsrprice(String usrprice) {
        this.usrprice = usrprice;
    }

    public Date getUsrtime() {
        return usrtime;
    }

    public void setUsrtime(Date usrtime) {
        this.usrtime = usrtime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserSchemeRecord other = (UserSchemeRecord) that;
        return (this.getUsrno() == null ? other.getUsrno() == null : this.getUsrno().equals(other.getUsrno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getPrno() == null ? other.getPrno() == null : this.getPrno().equals(other.getPrno()))
            && (this.getEdno() == null ? other.getEdno() == null : this.getEdno().equals(other.getEdno()))
            && (this.getUsrdate() == null ? other.getUsrdate() == null : this.getUsrdate().equals(other.getUsrdate()))
            && (this.getUsrprice() == null ? other.getUsrprice() == null : this.getUsrprice().equals(other.getUsrprice()))
            && (this.getUsrtime() == null ? other.getUsrtime() == null : this.getUsrtime().equals(other.getUsrtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUsrno() == null) ? 0 : getUsrno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getPrno() == null) ? 0 : getPrno().hashCode());
        result = prime * result + ((getEdno() == null) ? 0 : getEdno().hashCode());
        result = prime * result + ((getUsrdate() == null) ? 0 : getUsrdate().hashCode());
        result = prime * result + ((getUsrprice() == null) ? 0 : getUsrprice().hashCode());
        result = prime * result + ((getUsrtime() == null) ? 0 : getUsrtime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", usrno=").append(usrno);
        sb.append(", uno=").append(uno);
        sb.append(", prno=").append(prno);
        sb.append(", edno=").append(edno);
        sb.append(", usrdate=").append(usrdate);
        sb.append(", usrprice=").append(usrprice);
        sb.append(", usrtime=").append(usrtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
